<!DOCTYPE html>
<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" th:content="${config.keywords}">
    <meta name="description" th:content="${config.decText}">
    <link rel="shortcut icon" id="favicon" href="/static/favicon.ico"/>
    <title th:text="${config.siteName} +' - 开发文档'"></title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/font-awesome.min.css" rel="stylesheet">
    <link href="/static/css/index2.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="/static/js/jquery-1.11.3.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</head>
<body id="home" style="">
<th:block th:include="~{include/header.html::header}"></th:block>
<div style="height: 10px;"></div>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-3">
            <div id="toc" class="bc-sidebar">
                <ul class="nav">
                    <th:block th:each="obj,state:${api}">
                        <th:block th:if="${state == 1}">
                            <li class="toc-h2 toc-active">
                                <a th:href="'#toc'+${obj.id}" th:text="${obj.title}"></a>
                            </li>
                        </th:block>
                        <th:block th:if="${state != 1}">
                            <li class="toc-h2">
                                <a th:href="'#toc'+${obj.id}" th:text="${obj.title}"></a>
                            </li>
                        </th:block>
                    </th:block>
                </ul>
            </div>
        </div>
        <div class="col-md-9">
            <article class="post page">
                <section class="post-content">
                    <th:block th:each="obj,state:${api}">
                        <a th:href="'#toc'+${obj.id}" th:text="${obj.title}"></a>
                        <p th:utext="${obj.content}"></p>
                    </th:block>
                </section>
            </article>
        </div>
    </div>
</div>
<footer id="footer">
    <div class="container">
        <div class="row">
            <div class="col-sm-6">
                <th:block th:text="'Copyright ©2020 '+${config.copyright}+' All rights reserved.'"></th:block>
                <a href="http://www.miibeian.gov.cn/" target="_blank" th:text="${config.icpInfo}"></a>
            </div>
            <div class="col-sm-6"></div>
        </div>
    </div>
</footer>
<script type="text/javascript">
    if ('ontouchend' in document.body &amp;&amp; $(window).width() < 996) {
        $('.col-xs-12 .h2').css('text-align', 'center');
    }
</script>
<script>
    (function (d, s, a, i, j, r, l, m, t) {
        try {
            l = d.getElementsByTagName('a');
            t = d.createElement('textarea');
            for (i = 0; l.length - i; i++) {
                try {
                    a = l[i].href;
                    s = a.indexOf('/cdn-cgi/l/email-protection');
                    m = a.length;
                    if (a && s > -1 && m > 28) {
                        j = 28 + s;
                        s = '';
                        if (j < m) {
                            r = '0x' + a.substr(j, 2) | 0;
                            for (j += 2; j < m && a.charAt(j) != 'X'; j += 2) s += '%' + ('0' + ('0x' + a.substr(j, 2) ^ r).toString(16)).slice(-2);
                            j++;
                            s = decodeURIComponent(s) + a.substr(j, m - j)
                        }
                        t.innerHTML = s.replace(/</g, '&lt;').replace(/\>/g, '&gt;');
                        l[i].href = 'mailto:' + t.value
                    }
                } catch (e) {
                }
            }
        } catch (e) {
        }
    })(document);
</script>
<script>
    (function (d, s, a, i, j, r, l, m, t) {
        try {
            l = d.getElementsByTagName('a');
            t = d.createElement('textarea');
            for (i = 0; l.length - i; i++) {
                try {
                    a = l[i].href;
                    s = a.indexOf('/cdn-cgi/l/email-protection');
                    m = a.length;
                    if (a && s > -1 && m > 28) {
                        j = 28 + s;
                        s = '';
                        if (j < m) {
                            r = '0x' + a.substr(j, 2) | 0;
                            for (j += 2; j < m && a.charAt(j) != 'X'; j += 2) s += '%' + ('0' + ('0x' + a.substr(j, 2) ^ r).toString(16)).slice(-2);
                            j++;
                            s = decodeURIComponent(s) + a.substr(j, m - j)
                        }
                        t.innerHTML = s.replace(/</g, '&lt;').replace(/\>/g, '&gt;');
                        l[i].href = 'mailto:' + t.value
                    }
                } catch (e) {
                }
            }
        } catch (e) {
        }
    })(document);
</script>
</body>

</html>